<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>管理面板登录</title>
<?php echo $html -> charset('utf-8') ?>
</head>
<style>
    #loginbox{margin-top:100px;margin-left:auto;margin-right:auto;width:300px;border:1px solid #1B43BA}
    #title{margin:0;margin-bottom:20px;height:20px;font-size:13px;color:#ffffff;padding-left:5px;padding-top:3px;text-align:left;background-color:#1B43BA}
    .input , .submit{text-align:center;margin:5px}
    .message {padding-left:5px;color:red;text-align:center}
</style>
</head>
<body>
<div id='loginbox'>
<div id='title'>勇士网址导航CMS后台登录</div>
<div>
<?php
$session->flash('auth');
echo $form->create('User',array('url' => '/admin/users/login','label'=>'用户名'));
echo $form->input('username',array('label'=>'用户名称:'));
echo $form->input('password',array('label'=>'输入密码:'));
echo $form->end('登录');
?>
</div>
</div>
</body>
</html>